package com.atguigu.spzx.model.entity.system;

import com.atguigu.spzx.model.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色菜单
 * @TableName sys_role_menu
 */
@TableName(value ="sys_role_menu")
public class SysRoleMenu extends BaseEntity implements Serializable{

    /**
     *
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     *
     */
    @TableField(value = "menu_id")
    private Long menuId;

    /**
     *
     */
    @TableField(value = "is_half")
    private Integer isHalf;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    public Long getRoleId() {
        return roleId;
    }

    /**
     *
     */
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    /**
     *
     */
    public Long getMenuId() {
        return menuId;
    }

    /**
     *
     */
    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    /**
     *
     */
    public Integer getIsHalf() {
        return isHalf;
    }

    /**
     *
     */
    public void setIsHalf(Integer isHalf) {
        this.isHalf = isHalf;
    }
}
